﻿using System;
using AbsFactory.Factories;

namespace AbsFactory
{
    class Program
    {
        static void Main(string[] args)
        {
            // Абстрактная фабрика № 1 
            AbstractCarFactory bmwCar = new BMWFactory();
            Client c1 = new Client(bmwCar);
            c1.Run();

            // Абстрактная фабрика № 2      
            AbstractCarFactory audiFactory = new LadaFactory();
            Client c2 = new Client(audiFactory);
            c2.Run();


            Console.Read(); 

        }
    }
}
